var tomap = function (jingdu,weidu,address,name) {
  if (jingdu && weidu) {
    location.href = './map.html?jingdu='+jingdu+'&weidu='+weidu+'&address='+address+'&name='+name;
  }else {
    alert('该医院的位置信息正在维护中，静待更新~')
  }
}
module.exports = tomap;